﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;

namespace ERPStore.Diagnostics.Repositories.Mapping
{
	public class RewriteUrlMap : EntityTypeConfiguration<Datas.RewriteUrlData>
	{
		public RewriteUrlMap()
		{
			this.HasKey(e => e.Id);
			Property(e => e.Id)
				.IsRequired()
				.HasDatabaseGeneratedOption(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption.Identity);

			ToTable("ERPStore_RewriteUrl");
		}
	}
}
